package writeor.aidraw.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import writeor.aidraw.model.AiImages;
import writeor.aidraw.model.User;

import java.util.List;


/**
 * Category接口
 */
@Mapper
public interface AiImageDao {

    public int give_like(@Param("img_path") String img_path,@Param("like") int like);

    public List<AiImages> SearchAiImageWithUser(@Param("find_images") String find_images,@Param("user_name") String user_name);//分页
    public List<AiImages> selectAiImageWithUser(String user_name);//分页

    public List<AiImages> selectAiImageWithPage();//分页

    //更新商品分类信息
    public int updateImage108(AiImages aiImages);

    public int deleteImage108(String img_path);


    List<AiImages> FindImageByPrompt(String find_images);

}
